/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tcloudclient.settings;

import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Tomas
 */
@XmlRootElement
public class AutoLoginSetting {
    
    protected String userName;
    protected String password;
    protected boolean autologin;

    public AutoLoginSetting() {
    }

    public AutoLoginSetting(String userName, String password, boolean autologin) {
        this.userName = userName;
        this.password = password;
        this.autologin = autologin;
    }

    public AutoLoginSetting(String userName, String password) {
        this.userName = userName;
        this.password = password;
        this.autologin = false;
    }

    public boolean isAutologin() {
        return autologin;
    }

    public void setAutologin(boolean autologin) {
        this.autologin = autologin;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    
}
